import java.util.Scanner;

public class Test3 {
    public static void main2(String[] args) {
        String s = "abcdEFG";
        System.out.println(s.toLowerCase());
        System.out.println(s.toUpperCase());
        Scanner scanner = new Scanner(System.in);
        scanner.nextLine();

    }

    public static void main3(String[] args) {
        double sum = 0 ;
        Scanner scan = new Scanner(System.in);
        while(scan.hasNextDouble()){
            double tmp = scan.nextDouble();
            sum+=tmp ;
        }
        System.out.println(sum);
        System.out.println(sum/3);

    }

    public static void main(String[] args) {



    }

}
